package org.hs.phd.common.simpleplayer;

public class PlayerEvent {
	
	public enum EventType{CUSTOM_EVENT, PLAY, PAUSE, STOP, RESET, STEP_NEXT, STEP_PREVIOUS, VIEWER_REFRESH, PLAY_NEXT}

    private final EventType eventType;
	
	private FramePlayer player;

	public PlayerEvent(EventType eventType) {
		this.eventType = eventType;
	}

	public EventType getEventType() {
		return eventType;
	}

	public final FramePlayer getPlayer() {
		return player;
	}

	public final void setPlayer(FramePlayer player) {
		this.player = player;
	}
	
}
